<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="org.wso2.carbon.registry.custom.skb.ui.utils.SaveKBUtil" %>
<%@ page import="org.wso2.carbon.registry.common.utils.RegistryUtil" %>
<%@ page import="org.wso2.carbon.registry.common.ui.UIException" %>
<%
    String esPath = request.getParameter("path");
    try {
        SaveDocumentUtil.saveEndpointBean(esPath, request, config, session);
    } catch (UIException e) {
        %>Could not save the kb item details<%
        return;
    }
    
    String eprMainPath = "skb_view_ajaxprocessor.jsp?path=" + esPath;
%>

<jsp:forward page="<%=eprMainPath%>"/>
